﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowRejectRouting.aspx.cs" Inherits="InstrumentCheck.WebAppUI.ShowRejectRouting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>儀器校驗系統退件流程</title>
    <script type="text/javascript" language="javascript">
        function Reject(intFlowNO,strID) {
            document.getElementById(strID).value = intFlowNO;
            document.getElementById("btnReject").click();
        }

        function closeWindow() {
            self.close();
            window.returnValue = true;
        }
    </script>
    <base target="_self">
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr>
                <td style="height:20px;text-align:center;">請選擇需要退回的關卡，退回申請者則結案：</td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="gvRoutingHistory" runat="server" AutoGenerateColumns="False" 
                        onrowdatabound="gvRoutingHistory_RowDataBound">
                        <Columns>
                            <asp:BoundField DataField="FlowNO" HeaderText="關號" />
                            <asp:BoundField DataField="FlowName" HeaderText="流程角色" />
                            <asp:BoundField HeaderText="收件者" />
                        </Columns>
                    </asp:GridView>
                    <asp:TextBox runat="server" CssClass="hide" ID="txtRejectToFlow"></asp:TextBox>
                    <asp:TextBox runat="server" CssClass="hide" ID="txtRemark"></asp:TextBox>
                    <asp:Button runat="server" CssClass="hide" ID="btnReject" 
                        onclick="btnReject_Click" />
                </td>
            </tr>            
        </table>
       
    
    </div>
    </form>
</body>
</html>
